package com.wngbms.spring_boot_learn.anno;

import com.wngbms.spring_boot_learn.config.AppConfig;
import com.wngbms.spring_boot_learn.selector.MyDeferredImportSelector;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * Enable* 的本质是结合 Import来实现的
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(AppConfig.class)
public @interface EnableMyApp {
}
